﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ChiCardItemModel : MonoBehaviour {

    public List<GameObject> ListCard;

    private void Start()
    {
        
    }
    public void LoadCard(List<int> tempIntList) {
        for (int i = 0; i < tempIntList.Count; i++)
        {
            ListCard[i].SetActive(true);
            ListCard[i].GetComponent<UISprite>().spriteName = tempIntList[i].ToString();
        }
    }
}
